package com.efast.dmom.mes.bean;

import java.util.List;

import com.efast.dmom.mes.bean.base.PlantModelBaseBean;
import com.efast.dmom.mes.entity.WorkCenterEntity;

/**
 * @author Aaron Liu
 *
 * @date:2020年1月9日
 */
public class WorkCenter extends PlantModelBaseBean<WorkCenterEntity> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6248215159782669384L;

	private List<Equipment> equipList = null;


	public List<Equipment> getEquipList() {
		return equipList;
	}

	public void setEquipList(List<Equipment> equipList) {
		this.equipList = equipList;
	}

	public boolean equals(Object obj) {

		boolean result = false;

		if (obj instanceof Route) {

			if (this.getInnerData().getId() <= 0) {
				result = (this == (WorkCenter) obj);
			} else {
				result = (this.getInnerData().getId() == ((WorkCenter) obj).getInnerData().getId());
			}
		}
		return result;
	}

}
